翻訳と辞書
Words near each other
・ Singletrack (magazine)
・ SingleTrackMind
・ Singlewell Infrastructure Maintenance Depot
・ Singlewell or Ifield
・ Singlewire line
・ Singlewire Software
・ Singleyrac
・ Singlis
・ Singliser See
・ Singlish
・ Singlish Sinhala Transliteration Scheme
・ Singlish vocabulary
・ Singly
・ Singly and doubly even
・ Singly fed electric machine
Singly rooted hierarchy
・ Singmanee Kaewsamrit
・ Singmaster's conjecture
・ Singnapur
・ SingNet
・ Singngat
・ Singo
・ Singo Lane
・ Singo ulung
・ Singoalla
・ Singoalla (album)
・ Singoalla (film)
・ Singolare
・ Singold
・ Singoli


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Singly rooted hierarchy : ウィキペディア英語版
Singly rooted hierarchy

The singly rooted hierarchy, in object-oriented programming, is a characteristic of most (but not all) OOP-based programming languages. In most such languages, in fact, all classes inherit directly or indirectly from a single root, usually with a name similar to Object; all classes then form a common inheritance hierarchy.
This idea was introduced first by Smalltalk, the first OOP language, and was since used in most other ones (notably Java and C#).
A notable exception is C++, where (mainly for compatibility with C and efficiency) there is no single object hierarchy. This feature is especially useful for container libraries - they only need to allow putting an Object in a container to allow objects of any class to be put in the container. Containers in C++ have been implemented with multiple inheritance,〔Bruce Eckel, Thinking in C++ vol. 2, Ch. 9 "Multiple inheritance": section "Perspective"〕 and with help of template-based generic programming by Bjarne Stroustrup.〔(MFC Programmer's SourceBook : Thinking in C )〕〔Bruce Eckel, Thinking in C++ vol. 1, Ch. 16 "Introduction to Templates": section "The template solution"〕 Other object-oriented languages without a singly rooted hierarchy include Objective-C and PHP.
==References==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Singly rooted hierarchy」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.